﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddServiceCtrl.ascx.cs" Inherits="WebUI.Controls.AddServiceCtrl" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Panel ID="mainPanel" runat="server" CssClass="primaryFrameNoBorder">
   <table width="100%">
        <tr>
            <td style="text-align:right; vertical-align:top;width:120px;">
                <asp:Label CssClass="labelMessage" ID="lblname" runat="server" Text="Network:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:DropDownList ID="ddlNetworks" runat="server"></asp:DropDownList>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="require1" runat="server" ControlToValidate="ddlNetworks" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top;width:120px;">
                <asp:Label CssClass="labelMessage" ID="Label6" runat="server" Text="Mobile Number:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtMobile" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtMobile" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label1" runat="server" Text="Plan Description:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtPlanDescription" runat="server" TextMode="MultiLine" Rows="5"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top;width:120px;">
                <asp:Label CssClass="labelMessage" ID="Label4" runat="server" Text="Network:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:DropDownList ID="ddlPlanDuration" runat="server">
                    <asp:ListItem Text="24 Months" Value="24" Selected="True"></asp:ListItem>
                    <asp:ListItem Text="18 Months" Value="18" ></asp:ListItem>
                    <asp:ListItem Text="12 Months" Value="12" ></asp:ListItem>
                    <asp:ListItem Text="6 Months" Value="6" ></asp:ListItem>
                    <asp:ListItem Text="0 Months" Value="0" ></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label2" runat="server" Text="Commission:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtCommission" runat="server">0</asp:TextBox>
                <asp:Label CssClass="labelMessage"  ID="lblCommission" Visible="false" runat="server"></asp:Label>
                               <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtCommission" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="txtCommission" FilterType="Numbers, Custom" ValidChars=".">
                </cc1:FilteredTextBoxExtender>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label3" runat="server" Text="Rebate Amount:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtRebate" runat="server">0</asp:TextBox>
                <asp:Label CssClass="labelMessage"  ID="lblRebate" Visible="false" runat="server"></asp:Label>
                               <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtRebate" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" TargetControlID="txtRebate" FilterType="Numbers, Custom" ValidChars=".">
                </cc1:FilteredTextBoxExtender>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label7" runat="server" Text="MPP Amount:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtMPP" runat="server">0</asp:TextBox>
                <asp:Label CssClass="labelMessage"  ID="lblMPP" Visible="false" runat="server"></asp:Label>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtMPP" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" TargetControlID="txtRebate" FilterType="Numbers, Custom" ValidChars=".">
                </cc1:FilteredTextBoxExtender>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label5" runat="server" Text="Created Date:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtCreatedDate" runat="server"></asp:TextBox>
                <cc1:CalendarExtender ID="calCreatedDate" runat="server" TargetControlID="txtCreatedDate" TodaysDateFormat="dd MMM yyyy" Format="dd MMM yyyy">
                </cc1:CalendarExtender>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtCreatedDate" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label8" runat="server" Text="Start Date:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtStartDate" runat="server"></asp:TextBox>
                <cc1:CalendarExtender ID="calStartDate" runat="server" TargetControlID="txtStartDate" TodaysDateFormat="dd MMM yyyy" Format="dd MMM yyyy">
                </cc1:CalendarExtender>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtStartDate" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label9" runat="server" Text="End Date:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtEndDate" runat="server"></asp:TextBox>
                <cc1:CalendarExtender ID="calEndDate" runat="server" TargetControlID="txtEndDate" TodaysDateFormat="dd MMM yyyy" Format="dd MMM yyyy">
                </cc1:CalendarExtender>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtEndDate" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
   </table>
</asp:Panel>